<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content animated fadeInRight">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox-content">
					<form class="form-horizontal m-t" id="signupForm">
						<input id="id" name="id" type="hidden" th:value="${user.id}">
						<div class="form-group">
							<label class="col-sm-3 control-label">账号名称：</label>
							<div class="col-sm-8">
								<input id="account" name="account" th:value="${user.account}"
								 class="form-control" type="text">
							</div>
						</div>
						<div class="form-group">
								<label class="col-sm-3 control-label">绑定的设备：</label>
								<div class="col-sm-8">
									<select id="deviceId" name="deviceId" style="width:100%;height:40px;">
										<option th:each="item : ${devices}" th:field="*{user.deviceId}" th:value="${item.id}">
											<span th:text="${item.deviceName}"></span>
										</option>
									</select>
								</div>
							</div>
						<div class="form-group">
							<div class="col-sm-8 col-sm-offset-3">
								<button type="submit" class="btn btn-primary">提交</button>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/msg/user/edit.js">
	</script>
</body>
</html>
